class Game extends egret.Sprite {
  private _stall = new Stall();
  private _timer = 0;
  constructor(private _container: egret.DisplayObjectContainer) {
    super();
    this.width = 600;
    this.height = 700;
    this.addChild(this._stall);
  }

  start() {
    this._container.addChild(this);
    this._stall.init();
    this._stall.start();
  }
}
